package W11112;

public class Master {
	public void toHospital(Pet pet) {
	if(pet.getHealth()<60){
	pet.toHospital();
	}
	}
	public void eat(Pet pet){
		if(pet.getHealth()<60){
			pet.eat();
		}
	}
}
